package com.hjt.zhibo.scheduler;

import com.hjt.zhibo.collect.ITVPlatform;
import com.hjt.zhibo.model.PlatFormCatalog;

public class CollectRoomThread implements Runnable{

	private PlatFormCatalog platFormCatalog;
	private ITVPlatform iTVPlatform;
	
	public CollectRoomThread(PlatFormCatalog platFormCatalog, ITVPlatform iTVPlatform){
		this.platFormCatalog = platFormCatalog;
		this.iTVPlatform = iTVPlatform;
	}
	
	@Override
	public void run() {
		System.out.println("CollectRoomThread ---- run-- start-");
		iTVPlatform.getTVRoom(platFormCatalog);
		System.out.println("CollectRoomThread ---- run-- end-");
	}

}
